package behavioral.command;

/**
 * @Description: 空调命令
 * @Author: lxt
 * @CreateDate: 2019/11/1
 **/
public class AirConditionerCommand extends ICommand {

    public AirConditionerCommand() {
        this.setReceiver(new AirConditioner());
    }

    public void doStart() {
        this.getReceiver().stop();
    }

    public void doStop() {
        this.getReceiver().stop();
    }
}
